<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set var="nature_value"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" /></c:set>
<c:set var="grant_code"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<div class="t_bar">${param.title3 }</div>
<c:choose>
	<c:when test="${fn:substring(nature_value,0,1) eq 'A'}">
	<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgFinanceInfo" cellspacing="1">
	<col style="width:30%"/>
	<col style="width:20%"/>
	<col style="width:30%"/>
	<col style="width:20%"/>
	<tr>
		<td align="right" nowrap>上年固定资产总额（万元）：</td>
		<td align="center">
				<x:out select="$xmlData/data/finances/assets_fixed_cost" />
		</td>
		<td align="right" nowrap>上年资产负债率（%）：</td>
		<td align="center">
				<x:out select="$xmlData/data/finances/asset_liability_ratio" />
		</td>
	</tr>
	<tr>
		<td align="right" nowrap>上年研发加计扣除减免税（万元）：</td>
		<td align="center"> 
				<x:out select="$xmlData/data/finances/relief_fax_income_yanfa" />
		</td>
		<td align="right" nowrap>上年高新技术企业减免税（万元）：</td>
		<td align="center"> 
				<x:out select="$xmlData/data/finances/relief_fax_income_reduce" />
		</td>
	</tr>
	<tr>
		<td align="right" nowrap>上年营业（销售）收入（万元）：</td>
		<td align="center"> 
				<x:out select="$xmlData/data/finances/income" />
		</td>
		<td align="right" >上年实际上缴税费总额（万元）：</td>
		<td align="center">
				<x:out select="$xmlData/data/finances/fax" />
		</td>
	</tr>
	 <tr>
		<td align="right">上年减免税总额（万元）：</td> 
		<td align="center">
				<x:out select="$xmlData/data/finances/relief_reduction_total" />
		</td>
		<td align="right">上年研发经费支出总额（万元）：</td> 
		<td align="center">
				<x:out select="$xmlData/data/finances/yanfa_income" />
		</td>	
	</tr>
	<tr>
	
		<td align="right">其中，上年用于研发的仪器和设备支出（万元）：</td> 
		<td align="center">
				<x:out select="$xmlData/data/finances/yanfa_instrument" />
		</td>
		<c:choose>
            <c:when test="${grant_code eq 5939}">
                <td align="right">上年新产品销售收入（万元）：</td> 
                <td align="center">
                    <x:out select="$xmlData/data/finances/income_sale" />
                </td>
            </c:when>
            <c:when test="${ grant_code eq 51 }">
        		<td align="right">上年度研发经费占主营业务收入比例（%）：</td> 
                <td align="center">
        			<span name="finances/income_bl" id="income_bl">
        				<x:out select="$xmlData/data/finances/income_bl" />
        		    </span>
                </td>
            </c:when>
            <c:otherwise>
                <td colspan="2"></td>
            </c:otherwise>
        </c:choose>
    </tr>
    <c:if test="${grant_code eq 5939}">
        <tr>
            <td align="right">上年出口总额（万美元）：</td> 
            <td align="center">
                <x:out select="$xmlData/data/finances/export" />
            </td>
            <td align="right">上年净利润（万元）：</td> 
            <td align="center">
                <x:out select="$xmlData/data/finances/proft" />
            </td>
        </tr>   
    </c:if>
</table>
	</c:when>
	<c:otherwise>
		<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgFinanceInfo" cellspacing="1">
			<col style="width:20%"/>
			<col style="width:30%"/>
			<col style="width:20%"/>
			<col style="width:30%"/>
	<tr>
		<td align="right" nowrap>上年度支出费用（万元）：</td>
		<td align="center">
				<x:out select="$xmlData/data/finances/outcome" />
		</td>
		<td align="right" nowrap>上年研发经费支出总额（万元）：</td>
		<td align="center">
				<x:out select="$xmlData/data/finances/outcome_reserch" />
		</td>
	</tr>
		</table>
	</c:otherwise>
</c:choose>
	